package com.dqyt.khjc.mapper;

import com.dqyt.khjc.bean.BSms;
import org.apache.ibatis.annotations.Param;
import java.util.List;


/**
 * 短信
 * 
 * @author Administrator
 *
 */
public interface BSmsMapper {

	public List<BSms> getSmsByPhone(@Param("phone") String phone);

	public int getSmsCountByPhone(@Param("phone") String phone, @Param("createTime") long createTime);

	public int createSms(BSms mSms);

	public int updateSmsToUse(@Param("id") long id, @Param("flg") int flg);

}
